/*
 * @Description: Have A Nice Day!
 * @Author: Jacky
 * @Date: 2020-02-12 14:01:30
 * @LastEditors  : Jacky
 * @LastEditTime : 2020-02-13 12:53:20
 */
// 浏览器鉴别 BOM对象

const {appVersion} = window.navigator

const regexp = /(Android|iPhone|Windows Phone)/g;

if(regexp.test(appVersion)){
    // 说明当前的运行环境是mobile
    document.body.className = "mobile";
}else{
    // 当前的运行环境是PC
    document.body.className = "PC";
}
